<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />           
<title>后台管理 -- Talking</title>
<link rel="stylesheet" href="./static/css/frame.css" />
<script src="./static/js/jquery-1.3.min.js"></script> 
<script src="./static/js/common.js"></script> 
</head>

<body>
<div id="content">
    <div class="title">用户 » 添加用户</div>
    <div class="main">
        <h3>添加用户</h3>
        <fieldset>
        <form action="user_add.php" name="form" method="post" onsubmit="return validate()">
            <p>
                <label>用户名:</label>
                <input type="text" class="text-long" name="username" />
                <span>用户名必须是2-10个数字、字母、下划线</span>
            </p>
            <p>
                <label>用户邮箱:</label>
                <input type="text" class="text-long" name="useremail" datatype='email' />
                <span>用户常用邮箱</span>
            </p>
            <p>
                <label>用户密码:</label>
                <input type="password" class="text-long" name="userpass" />
                <span>密码长度为6-16个字符</span>
            </p>
            <p>
                <label>确认密码:</label>
                <input type="password" class="text-long" name="userpass2" />
                <span>确保密码输入正确</span>
            </p>
            <p>
                <label>选择用户组:</label>
                <select name="usergroup" class="select">
                    <option value="3">未认证会员</option>
                    <option value="4">认证会员</option>
                    <option value="6">管理员</option>
                </select>
            </p>
            <p>
                <input type="submit" class="button_submit" name="submit" value="提交" />
                <span>{{$tip}}</span>
            </p>
        </form>
        </fieldset>
    </div>
</div>
</body>
</html>
